package com.rmb.api.service.impl;

import com.rmb.api.dao.DescriptionDao;
import com.rmb.api.entity.Description;
import com.rmb.api.service.DescriptionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @author zhao
 */
@Service
public class DescriptionServiceImpl implements DescriptionService {
    @Autowired(required = false)
    private DescriptionDao descriptionDao;

    /**
     *查询所有数据
     * @return
     * **/
    @Override
    public List<Description> findList() {
        return descriptionDao.findList();
    }
}
